﻿<%@ Page Title="Log In" Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs"
    Inherits="Pager.Account.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../_css/login.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="wrapper">
        <div id="conteudo">
            <div id="login">
                <form id="Form1" runat="server">
                <asp:Login ID="LoginUser" runat="server" EnableViewState="false" RenderOuterTable="false" OnLoginError="LoginUser_LoginError">
                    <LayoutTemplate>
                        <div class="form">
                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Usuario:</asp:Label><br />
                            <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                ErrorMessage="Usuario obrigatorio." ToolTip="Informe o usuario" ValidationGroup="LoginUserValidationGroup">Usuário obrigatório</asp:RequiredFieldValidator><br />
                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Senha:</asp:Label><br />
                            <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                ErrorMessage="Senha obrigatoria." ToolTip="Informe a senha" ValidationGroup="LoginUserValidationGroup">Senha obrigatória</asp:RequiredFieldValidator>
                            <br />
                            <br />
                            <asp:CheckBox ID="RememberMe" runat="server" Text="Manter conectado" /><br />
                            <br />
                            <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" CssClass="bgbotao"
                                ValidationGroup="LoginUserValidationGroup" />
                        </div>
                    </LayoutTemplate>
                </asp:Login>
<%--                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                    HeaderText="teste" ShowMessageBox="True" ShowSummary="False" 
                    ValidationGroup="LoginUserErrorGroup" />
--%>                </form>
            </div>
            <div class="credito">Versao 1.0</div>
        </div>
    </div>
</body>
</html>
